  {% extends "base.html" %}
  {% block content %}
    {% from "forms/macros.html" import render_field %}
    <h2> Importar Fase </h2>
    <form method="POST" action="." class="form">
	      {{ form.csrf_token }}
	      {{ render_field(form.nombre, class="input text") }}
	      
	      </br>
	      <label>Fecha Inicio</label> <input type="date" name="fechainicio" value="{{ form.fechainicio.data }}" id="fechainicio" > </input>
	      </br></br>
	      <label>Fecha Fin</label> <input type="date" name="fechafin" value="{{ form.fechafin.data }}" id="fechafin" > </input>
	      </br></br>
      	  {{ render_field(form.tipoItems, class="checkbox", readonly = true) }}
	      </br>
	      <button type="submit" value="Aceptar" class="button green">Aceptar</button>
		  <button type="submit">
	    		<a href="{{ url_for('fases.administracion_fase') }}">Cancelar</a>
	      </button>    
      
    </form>
  {% endblock %}